package com.weitu.demo.controller;

import com.alibaba.fastjson.JSONObject;
import com.weitu.base.controller.BaseController;
import com.weitu.paging.DataGridPagination;
import com.weitu.permission.user.entity.User;
import com.weitu.plugin.PageView;
import com.weitu.util.AjaxResult;
import com.weitu.util.DateTimeUtil;
import com.weitu.workflow.definition.entity.WorkFlowDefinition;
import com.weitu.workflow.definition.service.WorkflowDefService;
import com.weitu.workflow.flowBusiness.entity.FlowBusiness;
import com.weitu.workflow.flowBusiness.service.FlowBusinessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


@Controller
@RequestMapping("/demo")
public class DemoController extends BaseController {

    private static final String MODULE_BATH_PATH = BASE_JSP_PATH + "demo";


    /***
     * 跳转到业务表单页面
     * @return
     */
    @RequestMapping(value = "/demo")
    public String demo() {
        return MODULE_BATH_PATH + "/demo";
    }

    /***
     * 跳转到流程监控页面
     * @return
     */
    @RequestMapping(value = "/flow")
    public String flow() {
        return MODULE_BATH_PATH + "/flow";
    }
    /***
     * 跳转到流程监控页面
     * @return
     */
    @RequestMapping(value = "/table")
    public String table() {
        return MODULE_BATH_PATH + "/table";
    }

}
